package com.wen.open.springframework.beans.factory;

import com.wen.open.springframework.beans.BeansException;

/**
 * @author Wen
 * @date 2023/4/23 11:15
 */
public interface BeanFactory {

    Object getBean(String beanName) throws BeansException;

    Object getBean(String beanName, Object[] args);

    <T> T getBean(String beanName, Class<T> requiredType);

    <T> T getBean(Class<T> requiredType) throws BeansException;
}
